package com.youdianda.vo;

import com.youdianda.entity.YddArticle;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 文章详情数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ArticleDetailsVO {
    // 上一篇数据
    private List<YddArticle> prev;
    // 下一篇数据
    private List<YddArticle> next;
    // 文章详情数据
    private YddArticleVO info;
    // 推荐文章数据
    private List<YddArticle> recommend;

}
